package com.easyse.serviceclient.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author: zky
 * @date: 2022/10/19
 * @description:
 */
@FeignClient(value = "systemservice")
public interface SystemClient {

    @GetMapping("/system/permission/{id}")
    List<String> selectPermsByUserId(@PathVariable("id") Long id);

}
